package com.phone.modules.rms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * 商品查询参数
 * Created by wanghao.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RmsBasicResultDTO筛选基本信息传输对象", description="用于返回条件筛选结果，查询基本信息排行")
public class RmsBasicResultDTO {

    @ApiModelProperty("品牌logo")
    private String logo;

    @ApiModelProperty("手机名称")
    private String productName;

    @ApiModelProperty(value = "发售日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date saleTime;

    @ApiModelProperty(value = "屏幕尺寸，单位：in")
    private Double screenSize;

    @ApiModelProperty(value = "电池容量，单位：mAh")
    private Integer batteryCapacity;

    @ApiModelProperty(value = "机身厚度， 单位：mm")
    private Double phoneThickness;

    @ApiModelProperty(value = "机身重量，单位：g")
    private Integer phoneWeight;

    @ApiModelProperty(value = "百分比参数")
    private Double per;

}
